﻿CREATE TABLE [dbo].[DanhMuc_ChuongTrinh] (
    [MaChuongTrinh]  INT            IDENTITY (1, 1) NOT NULL,
    [TenChuongTrinh] NVARCHAR (255) NULL,
    [DienGiai]       NVARCHAR (255) NULL,
    [NhomCT]         INT            NULL,
    [Hinh]           IMAGE          NULL,
    PRIMARY KEY CLUSTERED ([MaChuongTrinh] ASC),
    CONSTRAINT [FK_DanhMuc_ChuongTrinh_DanhMuc_NhomChuongTrinh] FOREIGN KEY ([NhomCT]) REFERENCES [dbo].[DanhMuc_NhomChuongTrinh] ([NhomCT]) ON DELETE CASCADE ON UPDATE CASCADE
);

